#ifndef BOWLING_H_
#define BOWLING_H_

#ifndef TRUE
#define TRUE 1
#endif

#ifndef FALSE
#define FALSE 0
#endif

#define FRAMES_NUM  10

#define MAX_ROLLS (2*(FRAMES_NUM)+3)

struct BOWLING{
	int currentRoll;
	int roll[MAX_ROLLS];
	int score;
	int bounsCount[FRAMES_NUM];
	int isInBonusRoll;
	int isGameOver;
};

void Bowling_init(struct BOWLING* game);

void Bowling_roll(struct BOWLING* game, int pins);



#endif /* BOWLING_H_ */
